<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<%-- 创建 --%>
	<c:url value="http://www.baidu.com" var="url"/>
	<c:out value="${url }" />
	<br><br>
	
	<c:url value="/login.jsp" var ="url2" context="/MVCProject" />
	<c:out value="${url2 }" />
	<br><br>
	
	<c:url value="/login.jsp" var ="url3" context="/MVCProject">
		<c:param name="username" value="admin"/>
		<c:param name="password" value="123456"/>
	</c:url>
	<c:out value="${url3 }" />
	<a href="${url3 }">MVC</a>
	<br><br>
	<br><br>
	
	
	<%-- 导入 --%>
	<c:import url="http://www.baidu.com" charEncoding="utf-8"/>
	<br><br>
	<br><br>
	
	
	<%-- 转发 --%>
	<c:redirect url="http://www.baidu.com">
		<c:param name="id" value="123456" />
	</c:redirect>	
	
</body>
</html>